package  com.mdp.im.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.mdp.core.dao.annotation.TableIds;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/**
 * @author 唛盟开源 code-gen
 * @since 2024-8-14
 */
@Data
@TableName("im_user")
@Schema(description="用户")
public class ImUser  implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.ASSIGN_ID)
	
	@Schema(description="用户编号,主键")
	String userid;

	
	@Schema(description="全局用户编号")
	String unionid;

	
	@Schema(description="登录账户")
	String displayUserid;

	
	@Schema(description="是否锁定")
	String locked;

	
	@Schema(description="开始时间")
	Date startdate;

	
	@Schema(description="昵称")
	String nickname;

	
	@Schema(description="用户名")
	String username;

	
	@Schema(description="电话")
	String phoneno;

	
	@Schema(description="密码")
	String password;

	
	@Schema(description="密码类型")
	String pwdtype;

	
	@Schema(description="头像")
	String headimgurl;

	
	@Schema(description="国家")
	String country;

	
	@Schema(description="城市")
	String city;

	
	@Schema(description="省")
	String province;

	
	@Schema(description="详细地址")
	String address;

	
	@Schema(description="性别")
	String sex;

	
	@Schema(description="结束时间")
	Date enddate;

	
	@Schema(description="区县")
	String districtId;

	
	@Schema(description="邮箱")
	String email;

	
	@Schema(description="身份证号码")
	String idCardNo;

	
	@Schema(description="机构号")
	String branchId;

	/**
	 *用户编号
	 **/
	public ImUser(String userid) {
		this.userid = userid;
	}
    
    /**
     * 用户
     **/
	public ImUser() {
	}

}